package com.xydtech.ecard.merchant.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 电子名片商户信息对象  ecard_merchant_info
 *
 * @author xydtech
 * @date 2023-07-31
 */
public class EcardMerchantInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 门头名称 */
    @Excel(name = "门头名称", needMerge = true, width = 20)
    private String handName;

    /** 所属行业 */
    //@Excel(name = "所属行业")
    private Integer industry;

    /**
     * 所属行业
     */
    @Excel(name = "所属行业", needMerge = true, width = 20)
    private String industryName;

    /** 地图地址 */
    @Excel(name = "地图地址", needMerge = true, width = 20)
    private String mapAddress;

    /** 坐标 */
    @Excel(name = "坐标", needMerge = true, width = 20)
    private String coordinate;

    /** 详细地址 */
    @Excel(name = "详细地址", needMerge = true, width = 20)
    private String address;

    /** 门头图片 */
    //@Excel(name = "门头图片")
    private String headPic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称", needMerge = true, width = 20)
    private String licenseName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码", needMerge = true, width = 20)
    private String creditCode;

    /** 经营者 */
    @Excel(name = "经营者", needMerge = true, width = 20)
    private String legalPersonName;

    /** 成立日期 */
    @Excel(name = "成立日期", needMerge = true, width = 20)
    private String estiblishTime;

    /** 资金数额 */
    @Excel(name = "资金数额", needMerge = true, width = 20)
    private String regCapital;

    /** 经营状态 */
    @Excel(name = "经营状态", needMerge = true, width = 20)
    private String regStatus;

    /** 联系方式 */
    @Excel(name = "联系方式", needMerge = true, width = 20)
    private String phoneNumber;

    /** 营业执照图片 */
    //@Excel(name = "营业执照图片")
    private String licensePic;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", needMerge = true, width = 20)
    private String marketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签",  needMerge = true, width = 20)
    private String businessLabel;

    /** 商户标签（多条记录逗号隔开） */
    @Excel(name = "商户标签", needMerge = true, width = 20)
    private String merchantLabel;
    /**
     * 备注说明
     */
    @Excel(name = "备注说明", needMerge = true, width = 20)
    private String remark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss", needMerge = true, width = 20)
    private Date creationTime;

    /** 创建人ID */
    //@Excel(name = "创建人ID")
    private Long creatorId;

    /** 状态 */
    private Integer state;

    /** 状态 */
    @Excel(name = "状态", needMerge = true, width = 20)
    private String stateName;

    /** 创建人机构id */
    //@Excel(name = "创建人机构id")
    private Long deptId;

    /** 客户经理 */
    @Excel(name = "客户经理", needMerge = true, width = 20)
    private String userName;

    /** 机构名称 */
    @Excel(name = "机构名称", needMerge = true, width = 20)
    private String deptName;

    /** 拜访结果 */
    @Excel(name = "拜访结果", needMerge = true, width = 20)
    private String visitSts;

    /** 天眼查结果 */
    @Excel(name = "天眼查结果", needMerge = true, width = 20)
    private String tycsts;

    /**
     * 是否释放
     */
    private String releaseSts;
    /**
     * 用户编号
     */
    private Long userId;

    /** 时间排序 */
    private String sortTime;

    /** 最近拜访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最近拜访时间", format = "yyyy-MM-dd HH:mm:ss", needMerge = true, width = 20)
    private Date maxbftime;
    /** 最大成员建档时间 */
    private Date maxcytime;

    /** 最近拜访照片 */
    private String maxvisitpic;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /**
     * 成员信息
     */
    @ExcelCollection(name = "成员信息")
    List<EcardMerchantPartInfo> merchantPartDetail;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHandName(String handName)
    {
        this.handName = handName;
    }

    public String getHandName()
    {
        return handName;
    }
    public void setIndustry(Integer industry)
    {
        this.industry = industry;
    }

    public Integer getIndustry()
    {
        return industry;
    }
    public void setMapAddress(String mapAddress)
    {
        this.mapAddress = mapAddress;
    }

    public String getMapAddress()
    {
        return mapAddress;
    }
    public void setCoordinate(String coordinate)
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate()
    {
        return coordinate;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setHeadPic(String headPic)
    {
        this.headPic = headPic;
    }

    public String getHeadPic()
    {
        return headPic;
    }
    public void setLicenseName(String licenseName)
    {
        this.licenseName = licenseName;
    }

    public String getLicenseName()
    {
        return licenseName;
    }
    public void setLicensePic(String licensePic)
    {
        this.licensePic = licensePic;
    }


    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getLegalPersonName() {
        return legalPersonName;
    }

    public void setLegalPersonName(String legalPersonName) {
        this.legalPersonName = legalPersonName;
    }

    public String getEstiblishTime() {
        return estiblishTime;
    }

    public void setEstiblishTime(String estiblishTime) {
        this.estiblishTime = estiblishTime;
    }

    public String getRegCapital() {
        return regCapital;
    }

    public void setRegCapital(String regCapital) {
        this.regCapital = regCapital;
    }

    public String getRegStatus() {
        return regStatus;
    }

    public void setRegStatus(String regStatus) {
        this.regStatus = regStatus;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getLicensePic()
    {
        return licensePic;
    }
    public void setMarketingFocus(String marketingFocus)
    {
        this.marketingFocus = marketingFocus;
    }

    public String getMarketingFocus()
    {
        return marketingFocus;
    }
    public void setBusinessLabel(String businessLabel)
    {
        this.businessLabel = businessLabel;
    }

    public String getBusinessLabel()
    {
        return businessLabel;
    }
    public void setMerchantLabel(String merchantLabel)
    {
        this.merchantLabel = merchantLabel;
    }

    public String getMerchantLabel()
    {
        return merchantLabel;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getVisitSts() {
        return visitSts;
    }

    public void setVisitSts(String visitSts) {
        this.visitSts = visitSts;
    }


    public String getTycsts() {
        return tycsts;
    }

    public void setTycsts(String tycsts) {
        this.tycsts = tycsts;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public Date getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(Date maxbftime) {
        this.maxbftime = maxbftime;
    }

    public Date getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(Date maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getMaxvisitpic() {
        return maxvisitpic;
    }

    public void setMaxvisitpic(String maxvisitpic) {
        this.maxvisitpic = maxvisitpic;
    }

    public String getReleaseSts() {
        return releaseSts;
    }

    public void setReleaseSts(String releaseSts) {
        this.releaseSts = releaseSts;
    }

    public List<EcardMerchantPartInfo> getMerchantPartDetail() {
        return merchantPartDetail;
    }

    public void setMerchantPartDetail(List<EcardMerchantPartInfo> merchantPartDetail) {
        this.merchantPartDetail = merchantPartDetail;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    @Override
    public String toString() {
        return "EcardMerchantInfo{" +
                "id=" + id +
                ", handName='" + handName + '\'' +
                ", industry=" + industry +
                ", industryName='" + industryName + '\'' +
                ", mapAddress='" + mapAddress + '\'' +
                ", coordinate='" + coordinate + '\'' +
                ", address='" + address + '\'' +
                ", headPic='" + headPic + '\'' +
                ", licenseName='" + licenseName + '\'' +
                ", creditCode='" + creditCode + '\'' +
                ", legalPersonName='" + legalPersonName + '\'' +
                ", estiblishTime='" + estiblishTime + '\'' +
                ", regCapital='" + regCapital + '\'' +
                ", regStatus='" + regStatus + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", licensePic='" + licensePic + '\'' +
                ", marketingFocus='" + marketingFocus + '\'' +
                ", businessLabel='" + businessLabel + '\'' +
                ", merchantLabel='" + merchantLabel + '\'' +
                ", remark='" + remark + '\'' +
                ", creationTime=" + creationTime +
                ", creatorId=" + creatorId +
                ", state=" + state +
                ", stateName='" + stateName + '\'' +
                ", deptId=" + deptId +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", visitSts='" + visitSts + '\'' +
                ", tycsts='" + tycsts + '\'' +
                ", releaseSts='" + releaseSts + '\'' +
                ", userId=" + userId +
                ", sortTime='" + sortTime + '\'' +
                ", maxbftime=" + maxbftime +
                ", maxcytime=" + maxcytime +
                ", maxvisitpic='" + maxvisitpic + '\'' +
                ", dictDeptId=" + dictDeptId +
                ", merchantPartDetail=" + merchantPartDetail +
                '}';
    }
}
